import pytest
import logging
import os
from log import log_set
from mail import sendy_mail
if __name__ == '__main__':
    log_set()
    pytest.main(["-s","testcase.py","--alluredir=维度电商系统接口测试报告","--clean-alluredir"])
    os.system("allure generate baogao -o ./报告 --clean")
    sendy_mail(["weidudiansanglog.txt","./报告/index.html"])
